/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package smaragJava;

/**
 *
 * @author northpole
 */
public interface PostDAOInterface {

    void delete(Post post);

    User[] findAll();

    User findByPrimaryKey(String id);

    User[] findByAuthorid(String username);

    void insert(Post post);

    void update(Post id);

}
